package ner;

public enum PartOfSpeech {
		NOUN,
		VERB,
		ADJECTIVE,
		NUMERAL,
		PRONOUN,
		ADVERB,
		INDECLINABLE;
		
		
		public static PartOfSpeech getPOSById(int id) {
			switch (id) {
				case 0: return NOUN;
				case 1: return VERB;
				case 2: return ADJECTIVE;
				case 3: return NUMERAL;
				case 4: return PRONOUN;
				case 5: return ADVERB;
				case 6: return INDECLINABLE;
				default: return null;
			}
		}
}
